#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define OK 1
#define ERROR 0

int max,min;
//int stage = 1, d = 0;

typedef struct mysl
{

    char path[100];
    int count;
    struct mysl *up;
    struct mysl *next;
} SL;

int myslInit();
int insert(SL *head, char *path);
int cheak_down(SL *head, int stage,int type);
int cheak_up(SL *head, int stage,int type);
int file_find(char *path,SL * list_head,char *c);
